#define _CRT_SECURE_NO_WARNINGS 1

#include <iostream>
#include "FindSubString.h"

int main()
{
	//vector<string> v({"word", "good", "best", "word"});
	//string s("wordgoodgoodgoodbestword");
	//vector<int> ret = findSubstring(s,v);

	//for (auto& e : ret)
	//{
	//	cout << e << "   ";
	//}
	//cout << endl;

	vector<string> v1({"aa","aa"});
	string s1("aaaaaaaaaaaaaa");
	vector<int> ret1 = findSubstring(s1, v1);

	for (auto& e : ret1)
	{
		cout << e << "   ";
	}
	cout << endl;

	return 0;
}